package com.findsing.jetty.websocket.model;



import org.apache.log4j.Logger;

public class Message{
	private static final Logger logger = Logger.getLogger(Message.class.getName());
	final static int majorVersion = 1;
	final static int  minalVersion = 0;
	public static final int getMajorVersion() {
		return majorVersion;
	}
	public static final int getMinalVersion() {
		return minalVersion;
	}
	
	public Message() {
	}
	public Message(String messageName, String message) {
		this.setMessageName(messageName);
		this.setMessageBody(message);
	}

	String messageName;	
	public void setMessageName(String messageName) {
		this.messageName = messageName;
	}
	public String getMessageName() {
		return messageName;
	}

	String messageBody;
	public void setMessageBody(String message) {
		this.messageBody = message;
	}
	public String getMessageBody() {
		return messageBody;
	}
}
